import request from '@/utils/request'

// 查询财务报导出历史记录列表
export function listPcwDataExportHistory(query) {
  return request({
    url: '/pcw/pcwDataExportHistory/list',
    method: 'get',
    params: query
  })
}

// 查询财务报导出历史记录详细
export function getPcwDataExportHistory(id) {
  return request({
    url: '/pcw/pcwDataExportHistory/' + id,
    method: 'get'
  })
}

// 保存财务报导出历史记录
export function savePcwDataExportHistory(data) {
  return request({
    url: '/pcw/pcwDataExportHistory/save',
    method: 'post',
    data: data
  })
}

// 删除财务报导出历史记录
export function delPcwDataExportHistory(id) {
  return request({
    url: '/pcw/pcwDataExportHistory/' + id,
    method: 'delete'
  })
}

// 导出财务报导出历史记录
export function exportPcwDataExportHistory(query) {
  return request({
    url: '/pcw/pcwDataExportHistory/export',
    method: 'get',
    params: query
  })
}
